$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import '~element-ui/packages/theme-chalk/src/index';

$app-bg: #f4f6f9;
$sidebar-bg: #ffffff;
$sidebar-logo-bg: #002140;
$sidebar-menu-active-bg: $--color-primary;

#app,
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  // box-sizing: border-box;

}



.sidebar {
  background-color: $sidebar-bg;
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  width: 180px !important;

  .logo {
    background-color: $sidebar-logo-bg;
    color: #fff;
    line-height: 60px;

    img {
      height: 32px;
      vertical-align: middle;
      display: inline-block;
    }

    h1 {
      font-size: 20px;
      display: inline-block;
      vertical-align: middle;
      margin: 0 0 0 12px;
      padding: 0;
      text-align: center;
    }
  }

  .el-menu {
    border-right: none;
    background-color: $sidebar-bg;

    .el-menu-item {
      color: #fff;

      &:hover,
      &:focus {
        background-color: $sidebar-menu-active-bg;
      }
    }

    .el-submenu__title {
      color: #fff;

      &:hover,
      &:focus {
        background-color: $sidebar-bg;
      }
    }
  }
}

.sidebar-collapse {
  width: 64px !important;

  .logo {
    h1 {
      display: none;
    }
  }
}

.header {
  background-color: #fff;
  // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);

  * {
    line-height: 60px;
  }

  .sidebarToggle {
    font-size: 28px;
  }

  .header-action {
    margin-left: 12px;
  }
}

.float-right {
  float: right;
}

.breadcrumb {
  padding-bottom: 20px;
}

.pagination {
  margin-top: 20px;
  margin-bottom: 20px;
}

.text-primary {
  color: $--color-primary;
}

.text-success {
  color: $--color-success;
}

.text-warning {
  color: $--color-warning;
}

.text-danger {
  color: $--color-danger;
}

.text-info {
  color: $--color-info;
}

//手指
.cursor {
  cursor: pointer;
}

hr {
  height: 1px;
  border: none;
  border-top: 1px solid #ebeef5;
}


// 外边距
.ml_5 {
  margin-left: 5px;
}
.ml_8 {
  margin-left: 8px;
}
.ml_10 {
  margin-left: 10px;
}
.ml_12 {
  margin-left: 12px;
}
.ml_14 {
  margin-left: 14px;
}
.ml_16 {
  margin-left: 16px;
}
.ml_28 {
  margin-left: 28px;
}
.ml_20 {
  margin-left: 20px;
}
.ml_22 {
  margin-left: 22px;
}
.ml_25 {
  margin-left: 25px;
}
.ml_30 {
  margin-left: 30px;
}
.ml_32 {
  margin-left: 32px;
}
.ml_34 {
  margin-left: 34px;
}
.ml_40 {
  margin-left: 40px;
}
.ml_50 {
  margin-left: 50px;
}
.ml_64 {
  margin-left: 64px;
}
.ml_100 {
  margin-left: 100px;
}
.mt_4 {
  margin-top: 4px;
}

.mt_5 {
  margin-top: 5px;
}
.mt_8 {
  margin-top: 8px;
}
.mt_10 {
  margin-top: 10px;
}
.mt_16 {
  margin-top: 16px;
}
.mt_20 {
  margin-top: 20px;
}
.mt_22 {
  margin-top: 22px;
}
.mt_24 {
  margin-top: 24px;
}
.mt_26 {
  margin-top: 26px;
}
.mt_30 {
  margin-top: 30px;
}
.mt_34 {
  margin-top: 34px;
}
.mt_36 {
  margin-top: 36px;
}
.mt_40 {
  margin-top: 40px;
}
.mt_48 {
  margin-top: 48px;
}
.mt_50 {
  margin-top: 50px;
}
.mt_60 {
  margin-top: 60px;
}
.mt_70 {
  margin-top: 70px;
}
.mt_80 {
  margin-top: 80px;
}
.mt_104 {
  margin-top: 104px;
}
.mt_112 {
  margin-top: 112px;
}
.mt_116 {
  margin-top: 116px;
}
.mt_120 {
  margin-top: 120px;
}
.mt_128 {
  margin-top: 128px;
}
.mt_176 {
  margin-top: 176px;
}
.mr_5 {
  margin-right: 5px;
}
.mr_8 {
  margin-right: 8px;
}
.mr_10 {
  margin-right: 18px;
}
.mr_14 {
  margin-right: 14px;
}
.mr_16 {
  margin-right: 16px;
}
.mr_18 {
  margin-right: 18px;
}
.mr_20 {
  margin-right: 20px;
}
.mr_22 {
  margin-right: 22px;
}
.mr_25 {
  margin-right: 27px;
}
.mr_38 {
  margin-right: 38px;
}
.mr_40 {
  margin-right: 40px;
}
.mr_48 {
  margin-right: 48px;
}
.mr_60 {
  margin-right: 60px;
}
.mb_6 {
  margin-bottom: 6px;
}
.mb_10 {
  margin-bottom: 10px;
}
.mb_20 {
  margin-bottom: 20px;
}
.mb_40 {
  margin-bottom: 40px;
}
.mb_50 {
  margin-bottom: 50px;
}

/* 字体大小 */
.f_12 {
  font-size: 12px;
}
.f_14 {
  font-size: 14px;
}
.f_15 {
  font-size: 15px;
}
.f_18 {
  font-size: 18px;
}
.f_20 {
  font-size: 20px;
}
.f_22 {
  font-size: 22px;
}
.f_24 {
  font-size: 24px;
}
.f_26 {
  font-size: 26px;
}
.f_28 {
  font-size: 28px;
}
.f_30 {
  font-size: 30px;
}
.f_32 {
  font-size: 32px;
}
.f_36 {
  font-size: 36px;
}
.f_38 {
  font-size: 38px;
}
.f_40 {
  font-size: 40px;
}
.f_48 {
  font-size: 48px;
}
.f_50 {
  font-size: 50px;
}
.f_52 {
  font-size: 52px;
}
.f_80 {
  font-size: 80px;
}

/* 内边距 */
.py_10 {
  padding: 0 10px;
}
.py_15 {
  padding: 0 15px;
}
.py_20 {
  padding: 0 20px;
}
.py_16 {
  padding: 0 16px;
}
.py_32 {
  padding: 0 32px;
}
.py_30 {
  padding: 0 30px;
}
.py_40 {
  padding: 0 40px;
}
.py_46 {
  padding: 0 46px;
}
.py_60_40 {
  padding: 60px 40px;
}
.py_140 {
  padding: 0 140px;
}
.p_24 {
  padding: 24px;
}
.p_20 {
  padding: 20px;
}
.p_30 {
  padding: 30px;
}
.p_40 {
  padding: 40px;
}
.pu_10_30 {
  padding: 10px 30px;
}

.pu_20 {
  padding: 20px 0;
}
.pu_20_b {
  padding: 0px 10px 20px 10px;
}
.pu_24 {
  padding: 24px 0;
}
.pu_30 {
  padding: 30px 0;
}
.pu_36 {
  padding: 36px 0;
}
.pu_40 {
  padding: 40px 0;
}
.pt_10 {
  padding-top: 12px;
}
.pb_24 {
  padding-bottom: 24px;
}
.pb_28 {
  padding-bottom: 28px;
}
.pb_40 {
  padding-bottom: 40px;
}
.pb_30 {
  padding-bottom: 30px;
}
.pb_50 {
  padding-bottom: 50px;
}
.p_4_12 {
  padding: 4px 12px;
}
.p_4_30 {
  padding: 4px 30px;
}
.p_24_32 {
  padding: 24px 32px;
}
.p_20_20 {
  padding: 20px 20px;
}
.p_24_28 {
  padding: 50px 0px 30px 30px;
}
.p_12_32 {
  padding: 12px 32px;
}
.p_20_30 {
  padding: 20px 30px;
}
.p_22_30 {
  padding: 22px 30px;
}
.p_22_32 {
  padding: 22px 32px;
}
.p_40_30 {
  padding: 40px 30px;
}
.p_14_14_30_14 {
  padding: 14px 14px 30px 14px;
}
.p_50_102_50_102 {
  padding: 50px 102px 50px 102px;
}

// 圆角
.br_0 {
  border-radius: 0px;
}
.br_4 {
  border-radius: 4px;
}
.br_8 {
  border-radius: 8px;
}
.br_10 {
  border-radius: 10px;
}
.br_16 {
  border-radius: 16px;
}
.br_20 {
  border-radius: 20px;
}
.br_24 {
  border-radius: 24px;
}
.br_76 {
  border-radius: 76px;
}
.br_100 {
  border-radius: 100px;
}

/* 布局 */
.center {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  align-items: center;
  justify-content: center;
}

//自动换行
.wrap {
  display: flex;
  flex-wrap: wrap; //自动换行
  justify-content: space-between; //两端对齐
}

.row {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
}

//横对齐
.row_a_c {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  align-items: center;
}

.row-flow {
  display: flex;
  flex-flow: row wrap;
}

.column {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
}

//竖对齐
.column_c {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  flex-direction: column;
  align-items: center;
}

// 两端对齐
.space-between {
  /* #ifndef APP-PLUS-NVUE */
  display: flex;
  /* #endif */
  flex-direction: row;
  justify-content: space-between;
}
//右对齐
.justify_content_end {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

// 字体加粗
.f_bold {
  font-weight: bold;
}

/* 字体颜色 */
.color_000 {
  color: #000000;
}
.color_F04940 {
  color: #f04940;
}

.color_B2B2B2 {
  color: #b2b2b2;
}

.color_9D9D9D {
  color: #9d9d9d;
}

.color_1A82FB {
  color: #1a82fb;
}

.color_fff {
  color: #fff;
}

.color_A6A6A6 {
  color: #a6a6a6;
}

.color_878787 {
  color: #878787;
}

.color_ABABAB {
  color: #ababab;
}

.color_173690 {
  color: #173690;
}

.color_CDDEF9 {
  color: #CDDEF9;
}



